home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MSYNC C Library Procedures MSYNC
-
-
-
- NNAAMMEE
- msync - sync pages to disk.
-
- SSYYNNOOPPSSIISS
- iinntt mmssyynncc((aaddddrr,, lleenn))
- ccaaddddrr__tt aaddddrr;;
- iinntt lleenn;;
-
- DDEESSCCRRIIPPTTIIOONN
- _M_s_y_n_c takes an address range and forces the pages containing
- the range to disk. The call will return after the pages are
- written to disk. After the call, the pages will no longer
- be valid in memory.
-
- If the page is locked in memory it will be unlocked for the
- _m_s_y_n_c call. By using _m_s_y_n_c and _m_l_o_c_k it is possible for the
- user to control the page-in/page-out process.
-
- RREETTUURRNN VVAALLUUEE
- _M_s_y_n_c returns 0 if the call is successful. Otherwise they
- return -1 and an error code is returned in _e_r_r_n_o.
-
- SSEEEE AALLSSOO
- mmap(2), mlock(2), munlock(2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v1.0 November 19, 1989 1
-
-
-
-